﻿@model Blog.Presentation.Models.Dislpay.ArchiveDto
@{
    ViewBag.Title = "Lumea mea";
}
<script>
    $(document).ready(function () {
        $('#@Model.CurrentPage').addClass('activelink');
    })
</script>
<h2>Lumea mea</h2>

    @{Html.RenderPartial("ShortView", Model.Articles);}

    <div class = "centered">
        @for(var i=1; i<=Model.Pages;i++){

            <text>&nbsp;</text>
            @Html.RouteLink(i.ToString(), "MyWorld", new { index = i},new { id = i.ToString()})
            
        }
    </div>